/*
 * @Author: dfh
 * @Date: 2024-03-15 13:53:18
 * @LastEditors: dfh
 * @Modified By: dfh
 * @describe: 
 */
import http from "@/utils/request";


export function fetchArticleList() {
  return http.get({
    url: `/api/v1/article/list?currPage=1&pageSize=100000`
  });
}

export function fetchBankRateList() {
  return http.get({
    url: `/api/v1/bank/rate/list`
  });
}

//货币信息分组列表
export function fetchCurrencyGroupList() {
  return http.get({
    url: `/api/v1/currency/group/list`
  });
}

//热门货币信息列表
export function fetchCurrencyHotList() {
  return http.get({
    url: `/api/v1/currency/hot/list`
  });
}

//汇率
export function fetchExchangeRate(data) {
  return http.post({
      url: `/api/v1/currency/rate`,
      data
  });
}
